import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/about',
    name: 'About',
    component: () => import('../views/About.vue'),
    children: [
      {
        path: 'jkpg',
        name: 'jkpg',
        component: ()=>import('../views/jkpg.vue'),
      },
      {
        path:'zytznb',
        name:'zytznb',
        component: ()=>import('../views/zytznb.vue')
        }
        ,
      {
        path:'xlwjpg',
        name:'xlwjpg',
        component: ()=>import('../views/xlwjpg.vue')
        },
        {
          path:'bgcx',
          name:'',
          component:()=>import('../views/bgcx.vue')
        }
      
    ]
  },
  {
    path: '/',
    name: 'show',
    component: () => import(/* webpackChunkName: "about" */ '../views/show.vue')
  },
  {
    path:'/home',
    name:'home',
    component:()=>import('../views/Home.vue')
  },
  {
    path:'/yuy',
    name:'Yuy',
    component:()=>import('../views/Yuy.vue')
  },
  {
    path:'/jkda',
    name:'jkda',
    component:()=>import('../views/jkda.vue')
  },
  {
    path:'/jkgy',
    name:'jkgy',
    component:()=>import('../views/jkgy.vue')
  },
  {
    path:'/yuytwo',
    name:'yuytwo',
    component:()=>import('../views/Yuytwo.vue')
  },
  {
    path:'/jkpg',
    name:'jkpg',
    component:()=>import('../views/jkpg.vue')
  },
  {
    path:'/jkzx',
    name:'jkzx',
    component:()=>import('../views/jkzx.vue')
  },
  {
    path:'/jkzxckxq',
    name:'jkzxckxq',
    component:()=>import('../views/jkzxckxq.vue')
  },
  {
    path:'/yuythree',
    name:'Yuythree',
    component:()=>import('../views/Yuythree.vue')
  }
]
const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
